package com.hmall.order.Interceptor;





public class UserThreadLocal {

   public static ThreadLocal<Long> userThreadLocal = new ThreadLocal<>();

   public static void set(Long id){
      userThreadLocal.set(id);
   }

   public static Long get(){
     return userThreadLocal.get();
   }

   public static void remove(){
      userThreadLocal.remove();
   }





}
